<template>
  <div>
    <!--基本用法 <div>{{ $store.getters.filterList }}</div> -->
    <div>{{ filterList }}</div>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  computed: {
    ...mapGetters(["filterList"]),
    //也可以手动封装函数
    // filterList() {
    //   return this.$store.getters.filterList;
    // },
  },
  methods: {},
};
</script>

<style>
</style>